#include"queue.h"
int main()
{
	QPlist plist;
	Inti(&plist);
	Pushtail(&plist, 1);
	Pushtail(&plist, 2);
	Pushtail(&plist, 3);
	Pushtail(&plist, 4);
	Pushtail(&plist, 5);
	while (!isEmpty(&plist))
	{
		printf("%d %d %d\n", plistfront(&plist), plistsize(&plist), plistback(&plist));

		Delete(&plist);
	}
	Destroy(&plist);
	return 0;
}